<html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11">

<title></title>
<meta content="<?php echo $nama_sekolah;?>" name="description">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="2 days" name="revisit-after">
<meta content="all,index,follow" name="robots">
<meta content="TRUE" name="MSSmartTagsPreventParsing">
<meta http-equiv="Content-Language" content="en-us">

<meta content="Global" name="Distribution">
<meta content="General" name="Rating">
<link href="images/favicon.ico" type="image/x-icon" rel="Shortcut Icon">
<!-- <link href="images/web-logo.gif" rel="image_src"> -->

<style type="text/css">


body {
    background-color: #FFFFFF;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
    text-align: center;
}


.no-style {
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
	font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
}


.rapor {
    border-collapse: collapse;
    border-color: #000000;
    border-style: solid;
    border-width: 1px;
    font-family: "Lucida Sans Unicode","Lucida Grande",Sans-Serif;
    font-size: 10px;
    text-align: left;
}

</style>

</head><body onLoad="window.print();"><center>

<table width="700" cellspacing="1" cellpadding="1" border="0"><tbody><tr><td align="left">
<table width="700" cellspacing="1" cellpadding="1" border="0" align="center" class="no-style">
  <tbody><tr>
    <td width="10%" rowspan="4"><img widht="60px" src="<?php echo $logo;?>"></td>
    <td valign="top" align="center"><h1><?php echo $nama_sekolah;?></h1></td>
  </tr>
  <tr>
    <td width="90%" align="center">
	<?php echo $alamat_sekolah;?>
	</td>
  </tr>
  <tr>
    <td align="center">
    <?php echo $telp_sekolah;?> - 
	Email <?php echo $email;?></td>
  </tr>
  <tr>
    <td align="center"><h2>KARTU TANDA PESERTA UJIAN AKHIR SEMESTER</h2></td>
  </tr>
</tbody></table>	
<br>
<table width="700" cellspacing="1" cellpadding="1" border="0" class="no-style">
  <tbody>
    <tr>
      <td width="11%" valign="middle"><strong>NAMA  </strong></td>
      <td width="2%" valign="middle"><strong>:</strong></td>
      <td width="51%" valign="middle"><strong><?php echo $siswa['nama']; ?></strong></td>
      <td width="18%" valign="middle"><strong>TAHUN AJARAN</strong></td>
      <td width="2%" valign="middle"><strong> :</strong></td>
      <td width="16%" valign="middle"><strong><?php echo $siswa['tahun_ajaran']; ?></strong></td>
    </tr>
    <tr>
      <td valign="middle"><strong>NIM</strong></td>
      <td valign="middle"><strong>:</strong></td>
      <td valign="middle"><strong><?php echo $siswa['nim']; ?></strong></td>
      <td valign="middle"><strong>SEMESTER</strong></td>
      <td valign="middle"><strong>:</strong></td>
      <td valign="middle"><strong><?php echo $siswa['semester']; ?></strong></td>
    </tr>
    <tr>
      <td valign="middle"><strong>KELAS</strong></td>
      <td valign="middle"><strong>:</strong></td>
      <td valign="middle"><strong><?php echo $siswa['nama_kelas']; ?></strong></td>
      <td valign="middle">&nbsp;</td>
      <td valign="middle">&nbsp;</td>
      <td valign="middle">&nbsp;</td>
    </tr>
  </tbody>
</table>
<br>
<table width="700" cellspacing="1" cellpadding="3" border="1" class="rapor">
  <tbody>
  	<tr>
	    <th width="31" align="center" valign="middle"><strong>NO</strong></th>
	    <th width="100" align="center" valign="middle"><strong>KODE MK </strong></th>
	    <th width="228" align="center" valign="middle"><strong>MATA KULIAH </strong></th>
	    <th width="70" align="center" valign="middle"><strong>% Absensi</strong></th>
	    <th width="125" align="center" valign="middle"><strong>Kelas</strong></th>
	    <th width="125" align="center" valign="middle"><strong>Ruang</strong></th>
	</tr>
    <tr>
      <th align="center" valign="middle"><strong>(a)</strong></th>
      <th align="center" valign="middle"><strong>(b)</strong></th>
      <th align="center" valign="middle"><strong>(c)</strong></th>
      <th align="center" valign="middle"><strong>(d)</strong></th>
      <th align="center" valign="middle"><strong>(e)</strong></th>
      <th align="center" valign="middle"><strong>(f)</strong></th>
    </tr>
    
    <?php
	
	$konvert = 0;
	$total_sks = 0;
	$jml_ttl = 0;
	$no = 1;
	foreach($saring as $tpl){
	
	?>
    <tr>
      <td align="center" valign="middle"><?php echo $no++; ?></td>
      <td align="center" valign="middle"><?php echo $tpl->kode_mata_kuliah; ?></td>
      <td align="left" valign="middle"><?php echo $tpl->mata_kuliah; ?></td>
      <td align="center" valign="middle"></td>
      <td align="center" valign="middle"></td>
      <td align="center" valign="middle"></td>
      </tr>
    <?php
	}
	
	?>
  <tr>
    <td colspan="6">&nbsp;</td></tr>
  </tbody>
</table>
<table width="700" cellspacing="1" cellpadding="1" border="0" class="no-style">
  <tbody>
    <tr>
      <td width="50%" align="left" valign="top"><br>
        	<b>CATATAN</b>
        </td>
      <td rowspan="2" align="left" valign="top">
      <br>
      		<img widht="60px" src="<?php echo $siswa['image_jadi'];?>">
      	</td>
      <td rowspan="2" width="30%" align="left" valign="top">
        	Padang, <?php echo $tanggal; ?><br>
        	<?php echo $jabatan_ketua_kampus?><br>
        	<?php echo $nama_sekolah?><br><br><br><br>
      		<u><b> <?php echo $nama_ketua_kampus?></b></u><br>NIP. <?php echo $nip_ketua_kampus?>
        </td>
    </tr>
    <tr>
      <td align="left" valign="top">
      <ol>
      	<li>Dikenakan denda Rp 5000 atas hilang/penggantian kartu ini</li>
      	<li>Tidak boleh ujian untuk mata kuliah yang dicoret</li>
      </ol>
    </tr>
</tbody></table></td></tr></tbody></table></center>

</body></html>
